body {
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    box-sizing: border-box;
    user-select: none;
}


header {
    background: linear-gradient(135deg, #5ac8fa, #1e9bff);
    color: #fff;
    display: flex;
    font-size: 17px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
}

header .dhzz {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 1em;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
}

header .dhzz img {
    width: 60px;
    height: 60px;
    margin-right: 0.5em;
    box-sizing: border-box;
}

header .dhzz h1 {
    font-size: 35px;
    display: flex;
    flex-direction: column;
}

header .dhzz h1 .ywm {
    font-size: 25px;
}

header .dhzy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 4em;
    box-sizing: border-box;
}

header .dhzy .dhzysm {
    display: flex;
    flex-direction: row;
}

header .dhzy .dhzysm .dhzysmx {
    text-align: center;
    display: flex;
    flex-direction: row;
}

header .dhzy .dhzysm .dhzysmx a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2em;
    text-decoration: none;
    color: inherit;
}

header .dhzy .dhzysm .dhzysmx a img {
    width: 1em;
    height: 1em;
}

header .dhzy .dhzysm .dhzysmx .now_name {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

header .dhzy .dhzysm .dhzysmx .now_name img {
    width: 1em;
    height: 1em;
}

header .dhzy .dhzysm .dhzysmx a:hover {
    text-decoration: underline;
}

header .dhzy .dhzyxm {
    text-align: center;
    margin-top: 0.5em;
    box-sizing: border-box;
}


main {
    display: flex;
    width: 100%;
    padding: 0;
    margin: 0;
}

main .zhzz {
    background: linear-gradient(to bottom, #e6f7ff, #c2e6ff);
    width: 15rem;
    text-align: center;
    position: fixed;
    left: 0;
    top: 5rem;
    bottom: 2rem;
    box-sizing: border-box;
}

main .zhzz .dhl {
    background: linear-gradient(135deg, #e6f7ff, #c2e6ff);
    font-size: 28px;
    height: 1.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

main .zhzz .dhl .dhl_l {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

main .zhzz .dhl .dhl_l .dhlzhx {
    height: 3px;
    padding: 0 0.1em;
}

main .zhzz .dhl .dhl_l .dhlyhx {
    height: 3px;
    padding: 0 0.1em;
}

main .zhzz .dhl .dhl_l .dhl_wz {
    font-size: 25px;
}

main .zhzz .cdl {
    background: linear-gradient(to bottom, #e6f7ff, #b3e0ff);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

main .zhzz .cdl .dcd {
    width: 100%;
    border-top: 1px solid #1e9bff;
    font-size: 22px;
    padding: 0.3em 0 ;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

main .zhzz .cdl .dcd img {
    width: 0.8em;
    height: 0.8em;
    padding: 0 0.3em;
}

main .zhzz .cdl .dcd:hover {
    cursor: pointer;
}

/* 箭头指示器 */
main .zhzz .cdl .dcd::after {
    content: "▼";
    position: absolute;
    right: 10px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

main .zhzz .cdl .dcd.active::after {
    transform: rotate(180deg);
}

main .zhzz .cdl .dcd-2 {
    max-height: 0;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease; 
}

main .zhzz .cdl .dcd-2 .xcd a {
    text-decoration: none;
    color: inherit;
    background-color: rgb(206, 243, 255);
    border-top: 1px solid #91d5ff;
    font-size: 18px;
    height: 2em;
    padding: 0.2em 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}


main .zhzz .cdl .dcd-2 .xcd a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}


main .zhzy {
    box-shadow: inset 0 0 15px rgba(182, 223, 255, 0.3);
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    left: 15rem;
    top: 5rem;
    bottom: 2rem;
}

main .zhzy .dqwz {
    background: linear-gradient(to left, #c2e6ff, #e6f7ff);
    height: 2rem;
    font-size: 20px;
    position: fixed;
    top: 5rem;
    bottom: 2rem;
    left: 15rem;
    right: 0;
    display: flex;
    align-items: center; 
    box-sizing: border-box;
}

main .zhzy .dqwz p {
    margin-left: 0.5em;
}

main .zhzy .xswz {
    height: calc(100% - 7rem - 2rem);
    position: fixed;
    left: 15rem;
    right: 0;
    top: 7rem;
    bottom: 2rem;
    overflow: auto;
    display: flex;
    align-self: flex-start;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

footer {
    background: linear-gradient(135deg, #5ac8fa, #1e9bff);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    width: 100%;
    height: 2rem;
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer a {
    text-decoration: none;
    color: inherit;
}

footer a:hover {
    text-decoration: underline;
}

.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 155, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(30, 155, 255, 0.4);
    text-align: center;
    width: 300px;
}

.dialog-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.dialog-buttons button {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#confirm-logout {
    background: linear-gradient(to right, #ff6b6b, #ff5252);
    color: white;
}

#confirm-logout:hover {
    background: linear-gradient(to right, #ff5252, #ff0000);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 82, 82, 0.3);
}

#cancel-logout {
    background: linear-gradient(to right, #4facfe, #00f2fe);
    color: white;
}

#cancel-logout:hover {
    background: linear-gradient(to right, #3aa2ff, #00d9fe);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 242, 254, 0.3);
}

